package com;

import com.bao1.account;
import com.bao1.some;
import com.bao1.someImpl;
import com.bao1.student;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
    public static void main(String[] args) {
        ApplicationContext applicationContext=
                new ClassPathXmlApplicationContext("beans.xml");
        some some= (someImpl) applicationContext.getBean("some1");
        some.dothree();
    }
}
